﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="utp.aspx.cs" Inherits="utp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>博易 ASP.NET Utility Tool Page v1.0</title>
    <style type="text/css">
    body {
	    font-size: 14px;
	    line-height:1.7;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <span style="font-size: 1.4em"><strong><span style="color: #cc6600">
    
    博易</span> ASP.NET Utility Tool Page</strong></span>
        <span style="font-size: 1.3em"><span style="color: #993300"><span style="background-color: #ff9933">
            <strong>v1.0</strong><br />
        </span></span></span>
        @ 当您看到了这一行文字则证明您的网站支持 .NET 2.0 ！<br />
        @ 网站投入运行之后请删除本页面，否则可能会对网站构成潜在的威胁。<br />
        @ 您可以从 <a href="http://www.blogyi.net/">http://www.BlogYi.net</a> 获取这个页面的源程序。<br />
        <br />
        <strong><span style="color: #cc6600">在线压缩</span></strong><br />
        <strong><%=HttpRuntime.AppDomainAppPath%></strong>
        &nbsp;<asp:TextBox ID="txtZipSource" runat="server" Columns="30"></asp:TextBox><br />
        <strong><%=HttpRuntime.AppDomainAppPath%></strong>
        &nbsp;<asp:TextBox ID="txtZipDestination" runat="server" Columns="30"></asp:TextBox>
        <asp:Button ID="btnZip" runat="server" Text="压缩到这里" OnClick="btnZip_Click" />
        <span style="color: #0000ff"><asp:Literal ID="litZipTip" runat="server"></asp:Literal></span><br />
        <br />
        <strong><span style="color: #cc6600">在线解压</span></strong><br />
        <strong><%=HttpRuntime.AppDomainAppPath%></strong>
        &nbsp;<asp:TextBox ID="txtUnZipSource" runat="server" Columns="30"></asp:TextBox><br />
        <strong><%=HttpRuntime.AppDomainAppPath%></strong>
        &nbsp;<asp:TextBox ID="txtUnZipDestination" runat="server" Columns="30"></asp:TextBox>
        <asp:Button ID="btnUnZip" runat="server" Text="解压到这里" OnClick="btnUnZip_Click" />
        <span style="color: #0000ff"><asp:Literal ID="litUnZipTip" runat="server"></asp:Literal></span><br />
        <br />
        <asp:Button ID="btnClearCache" runat="server" OnClick="btnClearCache_Click" Text="回收资源" />
        <span style="color: #0000ff"><asp:Literal ID="litClearCacheList" runat="server"></asp:Literal></span><br />
        <br />
        <strong><span style="color: #cc6600">
        服务器端信息</span></strong><br />
        服务器IP：<%=Request.ServerVariables["LOCAL_ADDR"]%>
        <br />
服务器名：<%=Request.ServerVariables["SERVER_NAME"]%>
        <br />
HTTP端口：<%=Request.ServerVariables["SERVER_PORT"]%>
        <br />
服务器时间：<%=DateTime .Now%>
        <br />
操作系统信息：<%=Request.ServerVariables["HTTP_USER_AGENT"]%>
        <br />
允许文件：<%=Request.ServerVariables["HTTP_ACCEPT"]%>
        <br />
虚拟目录：<%=HttpContext.Current.Request.ApplicationPath%> <br />
物理路径：<%=HttpRuntime.AppDomainAppPath%>

        <br />
探针文件路径：<%=Context.Server.MapPath(Request.ServerVariables["SCRIPT_NAME"])%>
        <br />
脚本超时时间：<%=Server.ScriptTimeout%>（秒）
<br /><br />
        <span style="color: #cc6600"><strong>

客户端信息</strong></span><br />
操作系统：<%=Request.Browser.Platform%>
        <br />
浏览器：<%=Request.Browser.Browser+Request.Browser.Version%>
        <br />
ActiveX支持：<%=Request.Browser.ActiveXControls.ToString()%>
        <br />
背景音乐支持：<%=Request.Browser.BackgroundSounds.ToString()%>
        <br />
是否Beta版：<%=Request.Browser.Beta.ToString()%>
        <br />
AOL插件支持：<%=Request.Browser.AOL.ToString()%>
        <br />
Cookies支持：<%=Request.Browser.Cookies.ToString()%>
        <br />
框架支持：<%=Request.Browser.Frames.ToString()%>
        <br />
ECMAScript版本：<%=Request.Browser.EcmaScriptVersion.ToString()%> 
        <br />
JavaApplets支持：<%=Request.Browser.JavaApplets.ToString()%>
        <br />
VBScript支持：<%=Request.Browser.VBScript.ToString()%>
        <br />
        <br />
        (C) <%=DateTime.Now.Year %> 
            <a href="http://www.BlogYi.net">BlogYi.net</a> 版权所有。您可以从 <a href="http://www.BlogYi.net">
                http://www.BlogYi.net</a> 获取这个页面的源程序。</div>
    </form>
</body>
</html>
